# -*- coding: utf-8 -*-  
"""  
@author     : Mengnf  
@github     : https://gitee.com/mengnf  
@software   : PyCharm   
@file       : urls.py  
@create     : 2024-11-17 13:53  
@description：
"""
from django.urls import path
from oauth.views import oauth, home
from rest_framework_simplejwt.views import TokenRefreshView

urlpatterns = [
    path('home/', home.HomeAPIView.as_view()),
    path('login/', oauth.UserLoginView.as_view()),
    path('logout/', oauth.LogoutAPIView.as_view()),
    path('refresh/', TokenRefreshView.as_view(), name='token_refresh'),
    path('info/', oauth.UserInfoView.as_view()),
]
